<template>
	<div class="about">
		<h1>About page</h1>
		<van-button type="primary" block @click="toPath('/test')">去测试页面看看</van-button>
	</div>
</template>

<script>
import { useRouter } from 'vue-router';
export default {
	name: 'about',
	setup() {
		const router = useRouter();

		function toPath(path) {
			router.push(path);
		}

		return { toPath };
	}
};
</script>

<style lang="scss" scoped>
h1 {
	font-size: 30px;
	margin-bottom: 300px;
}
.about{
	padding: 50px 40px;
}
</style>
